package com.wdl.modules.myhouse.dao.security;


import com.wdl.modules.myhouse.security.entity.UserInfo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author 昏昏的君
 */
@Mapper
@Repository
public interface SecurityDao  {
    /**
     * 根据用户名获取用户信息
     * @param username
     * @return
     */
    UserInfo getUserInfoByUsername(@Param("username") String username);

}
